<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ page  import="web.*" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'result2.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->

  </head>
  
  <body>
   <%
   String name=request.getParameter("zhanghao2");
   String word=request.getParameter("mibao1");
   String mb=null;
   jdbc my1=new jdbc();
   mb=my1.select1(name);
   if(mb.equals(word)){
	   %>
	  <form id="xiugai" action="result3.jsp">
	  <input type="text" value="请输入新密码"><br>
	  <input id="9" name="zhanghao3" type="hidden" value="<%=name %>">
      <input id="8" name="mima2" type="password" value=""><br>
      <input type="submit" value="确定" ><br>
      </form>  
	   <% 
   }else{
	   out.println("密保问题不正确");
   }
   %>
  </body>
</html>
